package com.haima.sage.bigdata.api.common;

import java.util.Map;
import java.util.WeakHashMap;

public class CacheUtils {
    private static final Map<String, String> cache = new WeakHashMap<>();

    public static String getCache(String key) {
        return cache.get(key);
    }

    public static void setCache(String key, String value) {
        cache.put(key, value);
    }
}
